package com.ssm.mapper;

import com.ssm.entity.ResourceUrl;
import com.ssm.entity.ResourceUrlExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ResourceUrlMapper {
    int countByExample(ResourceUrlExample example);

    int deleteByExample(ResourceUrlExample example);

    int deleteByPrimaryKey(Long resourceId);

    int insert(ResourceUrl record);

    int insertSelective(ResourceUrl record);

    List<ResourceUrl> selectByExample(ResourceUrlExample example);

    ResourceUrl selectByPrimaryKey(Long resourceId);

    int updateByExampleSelective(@Param("record") ResourceUrl record, @Param("example") ResourceUrlExample example);

    int updateByExample(@Param("record") ResourceUrl record, @Param("example") ResourceUrlExample example);

    int updateByPrimaryKeySelective(ResourceUrl record);

    int updateByPrimaryKey(ResourceUrl record);

    List<ResourceUrl> getAllResourceURL();
}